package com.realworld.service.Impl;

import com.realworld.mapper.articleThumbMapper;
import com.realworld.service.articleThumbService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class articleThumbImpl implements articleThumbService {
    @Resource
    private articleThumbMapper articleThumbMapper;
    @Override
    public void Favorite(Integer artId, String uid) {
        articleThumbMapper.Favorite(artId,uid);
    }

    @Override
    public void UnFavorite(Integer artId, String uid) {
        articleThumbMapper.UnFavorite(artId,uid);
    }
}
